package com.neu.api.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Setter;

import java.util.Date;

@Data  //等价于@Getter` 、 `@Setter` 、 `@ToString` 、 `@EqualsAndHashCode`
public class CustomerVO {
    @Setter
    private Long id;

    private String name;

    private String phone;

    private String sex;

    private String photo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
